package components;

import com.uqbar.vainilla.colissions.CollisionDetector;

public class CircularShape extends Shape{

	
	public CircularShape(CollisionableComponent comp){
		super(comp);
	}

	public boolean collideWithRect(CollisionableComponent rect){
		return this.getComponent().rectCircleCollide(this.getComponent(), rect);
		
	}
	public boolean collideWithCircle(CollisionableComponent circle){
		return this.getComponent().circleCircleCollide(circle);
		
	}
	public boolean collisionNature(CollisionableComponent target){
		return target.collideWithCircle(this.getComponent());
	}

}
